<?php
/*
 * Copyright (c) 2017-2025 Tencent. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
namespace TencentCloud\Tke\V20180525\Models;
use TencentCloud\Common\AbstractModel;

/**
 * DescribeIPAMD response structure.
 *
 * @method boolean getEnableIPAMD() Obtain Is the eniipamd component installed?
 * @method void setEnableIPAMD(boolean $EnableIPAMD) Set Is the eniipamd component installed?
 * @method boolean getEnableCustomizedPodCidr() Obtain Is custom podcidr enabled? It is false by default. It only matters if the eniipamd component is installed.
Note: This field may return "null", indicating that no valid value can be obtained.
 * @method void setEnableCustomizedPodCidr(boolean $EnableCustomizedPodCidr) Set Is custom podcidr enabled? It is false by default. It only matters if the eniipamd component is installed.
Note: This field may return "null", indicating that no valid value can be obtained.
 * @method boolean getDisableVpcCniMode() Obtain Is vpccni mode disabled? It is false by default. It only matters if the eniipamd component is installed.
Note: This field may return "null", indicating that no valid value can be obtained.
 * @method void setDisableVpcCniMode(boolean $DisableVpcCniMode) Set Is vpccni mode disabled? It is false by default. It only matters if the eniipamd component is installed.
Note: This field may return "null", indicating that no valid value can be obtained.
 * @method string getPhase() Obtain Component status. The value is available only if the eniipamd component is installed.
Note: This field may return "null", indicating that no valid value can be obtained.
 * @method void setPhase(string $Phase) Set Component status. The value is available only if the eniipamd component is installed.
Note: This field may return "null", indicating that no valid value can be obtained.
 * @method string getReason() Obtain Error message. It is available only if the eniipamd component is installed and the status is not running.
Note: This field may return "null", indicating that no valid value can be obtained.
 * @method void setReason(string $Reason) Set Error message. It is available only if the eniipamd component is installed and the status is not running.
Note: This field may return "null", indicating that no valid value can be obtained.
 * @method array getSubnetIds() Obtain Subnet information. It is available only if the eniipamd component is installed.
Note: This field may return "null", indicating that no valid value can be obtained.
 * @method void setSubnetIds(array $SubnetIds) Set Subnet information. It is available only if the eniipamd component is installed.
Note: This field may return "null", indicating that no valid value can be obtained.
 * @method string getClaimExpiredDuration() Obtain Fixed IP recycling time. It is available only if the eniipamd component is installed.
Note: This field may return "null", indicating that no valid value can be obtained.
 * @method void setClaimExpiredDuration(string $ClaimExpiredDuration) Set Fixed IP recycling time. It is available only if the eniipamd component is installed.
Note: This field may return "null", indicating that no valid value can be obtained.
 * @method boolean getEnableTrunkingENI() Obtain Is the relay network card mode enabled?
Note: This field may return "null", indicating that no valid value can be obtained.
 * @method void setEnableTrunkingENI(boolean $EnableTrunkingENI) Set Is the relay network card mode enabled?
Note: This field may return "null", indicating that no valid value can be obtained.
 * @method string getRequestId() Obtain The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
 * @method void setRequestId(string $RequestId) Set The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
 */
class DescribeIPAMDResponse extends AbstractModel
{
    /**
     * @var boolean Is the eniipamd component installed?
     */
    public $EnableIPAMD;

    /**
     * @var boolean Is custom podcidr enabled? It is false by default. It only matters if the eniipamd component is installed.
Note: This field may return "null", indicating that no valid value can be obtained.
     */
    public $EnableCustomizedPodCidr;

    /**
     * @var boolean Is vpccni mode disabled? It is false by default. It only matters if the eniipamd component is installed.
Note: This field may return "null", indicating that no valid value can be obtained.
     */
    public $DisableVpcCniMode;

    /**
     * @var string Component status. The value is available only if the eniipamd component is installed.
Note: This field may return "null", indicating that no valid value can be obtained.
     */
    public $Phase;

    /**
     * @var string Error message. It is available only if the eniipamd component is installed and the status is not running.
Note: This field may return "null", indicating that no valid value can be obtained.
     */
    public $Reason;

    /**
     * @var array Subnet information. It is available only if the eniipamd component is installed.
Note: This field may return "null", indicating that no valid value can be obtained.
     */
    public $SubnetIds;

    /**
     * @var string Fixed IP recycling time. It is available only if the eniipamd component is installed.
Note: This field may return "null", indicating that no valid value can be obtained.
     */
    public $ClaimExpiredDuration;

    /**
     * @var boolean Is the relay network card mode enabled?
Note: This field may return "null", indicating that no valid value can be obtained.
     */
    public $EnableTrunkingENI;

    /**
     * @var string The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
     */
    public $RequestId;

    /**
     * @param boolean $EnableIPAMD Is the eniipamd component installed?
     * @param boolean $EnableCustomizedPodCidr Is custom podcidr enabled? It is false by default. It only matters if the eniipamd component is installed.
Note: This field may return "null", indicating that no valid value can be obtained.
     * @param boolean $DisableVpcCniMode Is vpccni mode disabled? It is false by default. It only matters if the eniipamd component is installed.
Note: This field may return "null", indicating that no valid value can be obtained.
     * @param string $Phase Component status. The value is available only if the eniipamd component is installed.
Note: This field may return "null", indicating that no valid value can be obtained.
     * @param string $Reason Error message. It is available only if the eniipamd component is installed and the status is not running.
Note: This field may return "null", indicating that no valid value can be obtained.
     * @param array $SubnetIds Subnet information. It is available only if the eniipamd component is installed.
Note: This field may return "null", indicating that no valid value can be obtained.
     * @param string $ClaimExpiredDuration Fixed IP recycling time. It is available only if the eniipamd component is installed.
Note: This field may return "null", indicating that no valid value can be obtained.
     * @param boolean $EnableTrunkingENI Is the relay network card mode enabled?
Note: This field may return "null", indicating that no valid value can be obtained.
     * @param string $RequestId The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
     */
    function __construct()
    {

    }

    /**
     * For internal only. DO NOT USE IT.
     */
    public function deserialize($param)
    {
        if ($param === null) {
            return;
        }
        if (array_key_exists("EnableIPAMD",$param) and $param["EnableIPAMD"] !== null) {
            $this->EnableIPAMD = $param["EnableIPAMD"];
        }

        if (array_key_exists("EnableCustomizedPodCidr",$param) and $param["EnableCustomizedPodCidr"] !== null) {
            $this->EnableCustomizedPodCidr = $param["EnableCustomizedPodCidr"];
        }

        if (array_key_exists("DisableVpcCniMode",$param) and $param["DisableVpcCniMode"] !== null) {
            $this->DisableVpcCniMode = $param["DisableVpcCniMode"];
        }

        if (array_key_exists("Phase",$param) and $param["Phase"] !== null) {
            $this->Phase = $param["Phase"];
        }

        if (array_key_exists("Reason",$param) and $param["Reason"] !== null) {
            $this->Reason = $param["Reason"];
        }

        if (array_key_exists("SubnetIds",$param) and $param["SubnetIds"] !== null) {
            $this->SubnetIds = $param["SubnetIds"];
        }

        if (array_key_exists("ClaimExpiredDuration",$param) and $param["ClaimExpiredDuration"] !== null) {
            $this->ClaimExpiredDuration = $param["ClaimExpiredDuration"];
        }

        if (array_key_exists("EnableTrunkingENI",$param) and $param["EnableTrunkingENI"] !== null) {
            $this->EnableTrunkingENI = $param["EnableTrunkingENI"];
        }

        if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
            $this->RequestId = $param["RequestId"];
        }
    }
}
